package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 9:03 下午
 */
@Data
@ApiModel("资源信息返回值")
public class ResourceResp {

    @ApiModelProperty(value = "资源编号", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "备注", required = true)
    private String remarks;

    @ApiModelProperty(value = "资源分类编号", required = true)
    private Long categoryId;

    @ApiModelProperty(value = "资源分类名称", required = true)
    private String categoryName;

    @ApiModelProperty(value = "资源名称", required = true)
    private String name;

    @ApiModelProperty(value = "下载次数", required = true)
    private Integer downloadTimes;

    @ApiModelProperty(value = "关联附件编号", required = true)
    private Long attachmentId;

    @ApiModelProperty(value = "审批状态，0:审批中，1:通过，2：驳回")
    private Integer approvalStatus;
}
